updated main.js with services, home page, and app.rb to post