Updated documentation to include details on design and database schema