database class --> TO CHANGE TO PDO