Database

have not integrated into the MVC, but the new database file now has more functionality.