call -> run_in_foregroung, in separate file
Refactor input handling, test keypress -> decision