Move class autoload

Move the class autoload in core directory