Limit data in database to what is currently needed for Phase 0

The database was filling up with unnecessary or unused data.  This pull request limits the data in the database to that which is needed at any given time.