updates fog settings for aws file storage, preps for heroku and aws keys. Minor code cleanup.