Modelling of structure and properties of molecules