Refactoring: Move flags and commands to private section
Extract cursor class
Add simple double-buffering
Add TODOs
Add simple bargraph script