   # Create a new model
   create: (classname, model, timestamp) =>
 
-    # Generate new id
+    # TODO: Get prefs to sync
     if classname is PREF
       id = 1
       model = @settingsValidate(model)
 
+    # Inbox list is special
     else if classname is LIST and model.id is INBOX
       id = model.id
       if @hasModel(LIST, INBOX) then return
 
+    # Assign server id 
     else
       id = model.id = @createId classname
 

    @time = new Time(@user)

  createId: (classname) ->
    id = SERVER_ID + @user.index classname
    @user.incrIndex classname
    return id

  #####################################
  #    __   __   ___      ___  ___    #

    if classname is TASK
      listId = model.list
      @taskAdd id, listId

    # Make sure model.tasks exists
    else if classname is LIST
      model.tasks ?= []

    # Add item to server
    @user.setModel(classname, id, model)
