Added notes and cleaned up db schema.