Moving initialization to core
Updated the autoloader