ui code structuring. RequireJS, Backbone implementation

I have done some code cleanup at UI side and also implemented Backbone with requireJS.

Created some view and models, which need to be further enhanced.