Removes the Doctrine and prepers the PDO for DataBase control.