-Q       = require "q"
-Auth    = require "./auth"
-User    = require "./storage"
-Log     = require "./log"
+Q       = require 'q'
+Auth    = require './auth'
+User    = require './storage'
+Log     = require './log'
+
+# Constants
+SUPPORTED_CLASSES = ['List', 'Task', 'Setting']
 
 # Start server
 init = ( sync_server ) ->

        Log "Destroying Task #{taskId}"
        # TODO: Prevent server from broadcasting these changes
        #       And make the client delete the tasks
        @destroy ["Task", taskId]

    # Remove from list
    else if className is "Task"
      @taskRemove id, model.list

    # Replace task with deleted template

      # This code matches that list back to the task

      if type in ["create", "update"] and
      className is 'Task' and model.list.slice(0,2) is "c-"

        # The list hasn't been assigned a server ID yet
        if client[model.list] is undefined
