Add autoload directives to composer.json