Restructed application using Backbone framework