Database Addition

The database has not been tested but this is the foundation for it. I also created a dummy Cache class for the database to use.