added the class 'System' to contain the set of molecules