Major revision of Main

Input and Create Process now have their own specific functions, however remain untested. CD will require its own process given the limitations of the shell at this time.