Created a database

Created a database class that will handle the connection to the MySQL server and the IO to/from the database.