   date: false
 log = new Log logSettings
 
-
+# Represents a Picksel project.
+#
 class Project
   constructor: () ->
     @directory = ''
     @images = []
 
 
+# Represents a Picksel user.
+#
 class User
   constructor: () ->
     @apiKey = ''


# Interpret commands.
switch process.argv[2]
  when 'help' then help()
  when 'init' then init()
  when 'auth' then auth()
  else
    loadWorkspace (success) ->
      if success
        switch process.argv[2]
          when 'install' then install()
          when 'add' then add process.argv
          when 'remove' then remove process.argv
      else
        log.error "Couldn't load workspace for above reason. Terminating."

# Constants.
USER_PATH = './.pickselacc' # Location of user file.
PROJECT_PATH = './picksel.json' # Location of project file.


# Load dependencies.
https = require 'https'
fs = require 'fs'
request = require 'request'
jsonfile = require 'jsonfile'
existsFile = require 'exists-file'
