refactoring module Controls