Refactor ClouderaManager