Changed the PDO instance in Database to private