new db schema. incomplete implementation
more complete implementation of new database schema
changed log function. partially implemented
partial implementation of new database schema