Created Event-model, removed old Event-object. Fixed few simple programming errors.