Changes database schema and adds triggers since foreign keys are not working, thus making cascading deletes with foreign keys impossible. Updates the GUI for adding groups and events.