     throw new Error 'XML source path is required' unless @_options.source
     @sync = new ProductSync @_options
     @rest = new Rest @_options
+    @mapping
+    @successCounter = 0
+    @failCounter = 0
+    @toBeImported = 0
 
   ###
   Reads given products XML file and creates new products in Sphere.

  _readFile: (path) -> utils.readFile path

  _parseXml: (file) -> utils.parseXML file

  _getProductTypes: ->
    deferred = Q.defer()

        deferred.resolve body
    deferred.promise

  _batch: (productList, callback, numberOfParallelRequest) =>
    current = _.take productList, numberOfParallelRequest
    Q.all(current)
    .then (result) =>
