input commands inside a loop, check for exit execute everything.

This gives you a minimal terminal, works all possible commands, including a new shell inside this program, also runs commands with parameters and then exits when user hits exit. Fixes #108