changed Databaseconnector

changed Databaseconnector from MySqli to PDO