createCommandManager returns the manager