Rewrote ALL the code to be compliant with the PSR-2 standard.