refactor
make control module