Improving Quality Assurance

- Removing dead code
- Correcting composer.json
- Correcting Exception namespace
- Correcting file policies
- Improving loops performance