Started laying the connection to the database