reorganised files; fixed a bug where the create-an-event textbox would not get the value from the options