Moves the API out into its own routes file. Begins cleaning up code. Adds exceptions for when app is new and there've been no outages