refactoring code
created module for cyo
refactoring