Studies on nitrogen and/or sulphur containing heterocyclic compounds substitutent effect and some synthetic aspects