exit, cd, empty commands, prompt, normal commands and handling EOF completed. Structs created for job management