connecting to web app
added duration to create_event tab instead of end time
the end time is nil so the app:persistence cannot store the data correctly
creating and getting events functionality tested and working
refactoring event class