Starting to add code to set various defaults. Most not implemented yet
though. Modified database to have a defaults table. Need to fix a few
errors in field names but it's started.