Renamed models to proper PSR-0 standards, started on definitions controller, small extension on 500 errors now also passing the line and file in which the error occured.