Set up InteractionMode1Controller functionality completely
Modified the structure of database
Fixes #8