Fix some errors, formatting, and the composer.json file