Finished TD module

AP and TD modules working properly with schedular