Some fixed code

* Some unused use statements avoided
* Fixed composer
* Fixed gitignore
* Controller lighter