Added concurency

Added ability to run process in background
exit, Ctrl+D and mode change will not work with backgroun
process runnning
Check valgrind for mode p and s, basic cases
Still need to clean up code, mostly function orders