Coding standard: Adhere to PSR-1 and PSR-2

I have rewrote the code base to follow PSR-1 and PSR-2 coding standards.
Job is not complete because standard says that you should declare a class or include classes but don't do both in one file. Meaning you should use autoloader instead of including files in every second file.
There is also one other issue and that is with config.ini.php file. Error message with that is  "End of line character is invalid; expected "\n" but found "\r\n" on line 1". Maybe just remove the first line of the file and you could also rename the file to config.ini and remove the .php extension...