Setting the Database