Wrote the Events API and model. Has NOT been tested and is being pushed up for Matt Layher to double check as this was my first attempt