Changed Databaseconnection to PDO
MVC: Moved all database queries inside the repository.php (model)