Refactoring and config object

Refactor launch of app
Add YAML config
Use APP_ENV environment var to choose env, defaults to development
Send full paths into template loader, etc so the app can be run from anywhere