added sched.h and sched.c templates