added type for shared molecule pointer an reformat file
switchted to smart pointers also for pimpl
switchted to smart pointers
moved return at the end of the method
switched to smart pointers

also removed unused vector of molecule objects