 						game.quotes = quoteEntities
 					else
 						error = quoteQueryError
-						
+
 					done error, {"game": game }
 			else
 				game = null

		# TODO: move util functions to separate module
		getNextCharacter = (character)->
			return String.fromCharCode(character.charCodeAt(0)+1)
		
		results = []
		error = null;
		
		done = ()=>
			# DONE -- use callback	
			callback error, results
		
		# create gameQuery
		if filter == 'new'
			dayLimit = nconf.get 'NEW_CONTENT_DAYS'

	# constructor
	constructor: (accountName, accountKey)->
        @catalogueTableName = nconf.get "CATALOGUE_TABLE_NAME"

        @tableService = azure.createTableService accountName, accountKey
        @tableService.createTableIfNotExists @catalogueTableName, (error, result, response)->
            if error
