Refactor, Implemented SendCmd/ViewSubcr. UI dep.