Modernizing all the code and updating composer.json including namespaces