added a bunch of comments and database schemata