some refactoring; adding command manager bases