 
     @configuration.createMeteorMethods = false
     @configuration.useInMemoryCollections = true
+
+    @commandBus = @injector.get 'Space.cqrs.CommandBus'
+    @commits = @injector.get 'Space.cqrs.CommitCollection'
 
     @injector.map('CustomerRegistrations').toStaticValue new @Mongo.Collection(null)
     @injector.map(CustomerRegistrationRouter).asSingleton()

      sourceId: registration.id
      version: 3
    }


class CustomerApp.RegistrationCompleted extends Space.cqrs.Event
  @type 'CustomerApp.RegistrationCompleted'

# -------------- AGGREGATES ---------------

class Customer extends Space.cqrs.AggregateRoot

