Adds events api
Adds events_controller_spec.rb