Added all shell commands and implemented setscheduler and getscheduler