new structure and changes to composer.json for  autoload