refactor(control): demo and simplify code
test(control): add test