Globally enable CORS for all requests
Example of tests for events
Started working on event and application model
Test skeleton for applications
REST interface for applications