Basic logging and split out the lookup logic.
Play with deployment.
prep heroku