Added API tests and made them pass
Move files into their right places
Merge pull request #4 from wasafiri/API

Add creation of events on API