Replaced CAtlArray with vector in molecule.
Replaced CAtlMap with std::map in molecule.
Replaced some legacy stuff.