some structure changes

moved BlackMagic to magic folder
moved all MemoryManipulation related methods to ObjectManager