   Widget = require "view/widget"
 
   #GAConstructor = require "sp-utils-gaconstructor"
-  #UserModel = require "models/UserModel"
-  #require "packages/social"
+  #UserModel = require "model/UserModel"
+  #social = require "packages/social"
 
-  $ = Backone.$
+  $ = Backbone.$
 
   class Application
-    constructor:(common)->
+    constructor: (common)->
       common.router = new Router
       common.api = new ServerApi
 

      #common.user = new UserModel

      # Init google analitics
      # common.ga = new GAConstructor preprocess.GA, Backbone


      #common.sapi = new social.SocialApi


    start:->
      layout = {}
      layout.header   = new Layout.HeaderLayout   el: "#header-layout"
      layout.content  = new Layout.ContentLayout  el: "#content-layout"
      layout.footer   = new Layout.FooterLayout   el: "#footer-layout"
      layout.modal    = new Layout.ModalLayout    el: "#modal-layout"
      for key, item of layout
        item.showCurrent()
        this[key] = item
      Backbone.history.start()
