Optimize Output._print
Cleanup dir structure, fix Keyboard class