some tweaks to clean up app
factor config out of files and into env variables
take out debug messages