Moved update_CWD and cd_Command to a seperate file