app.rb refactoring
added google analytics