refactor management shell
further refactoring of mgmt shell
implemented overriding functionality