Refactor the events function out of the collections
Development SSL hosting

Primarily used to test the native applications, as they are set to https
only