Database changes

Exported the current database and set the PDO to prepare the queries to
be executed.