CMS-2331 Design new input type for Region
Fixed wrong order of referenced files that caused compilation to file with bug