Added user commands and continous input.

Program is functionally correct. Needs cleanup and extra user input
checking / verification for commands. Also need to remove "helper"
functions.