Add Database Class

Database class that will handle all I/O to the database.