write simple keyboard input and parsing routines.
add header with input actions enumerated.
add simple main loop that reads keyboard input and decides what to do.