Deleting obsolete stuff.
Moving stuff from core to the new engine module.