Make it a gem
Isolate curses interaction
Implement haiku <-> string conversion