Fix indents
Refactor and remove deprecation warnings
Log user agents
Add google analytics
Deploy to heroku