Implemented CompanyHierarchyMain w/ (hopefully working) input validation.