 tar = require 'tar'
 bcrypt = require 'bcrypt'
 watchr = require 'watchr'
+crypto = require 'crypto'
 
 xml = 
 	parser: (require 'xml2js').Parser

										currentVersion.requiredpackages = versionPackageXml.package?.requiredpackages?[0]
										currentVersion.excludedpackages = versionPackageXml.package?.excludedpackages?[0]
										currentVersion.timestamp = versionFileStat.mtime
										currentPackage.versions[versionNumber] = currentVersion
										
										logger.log "debug", "Finished parsing #{versionFile}"
										versionsCallback null
							, (err) ->
								if err?
									fileCallback err

config.packageFolder += '/' unless /\/$/.test config.packageFolder
config.enableManualUpdate ?= on
config.enableStatistics ?= on
config.enableHash ?= on

# initialize express
app = do express
