Page for creating apps to the database
Routing for app creation, including key generation
Database functions for application creation

Also tweaks to some of the functions to formulate data better.
Added link for adding new applications
Modified data format for getting app and event data