TableGroups added to DB
Indexed added into document
Exit button added
Document updated: added materials
UI updated