refactored UX class into module with 3 classes: Input, Output and BoardP...

...rinter