Added Input

Input system is now implemented.
Current input only include exit and help.
Main program state variables bool run and bool needSave added