Added communication between the core and the client. Events can now be added with the add event page and viewed in the eventlist page