more functional version
partially refactored twizzer
Merge branch 'gui' of https://github.com/alipourm/twizzer