Added the groundworks for database management. Not functional.