Moved Task, Waitable, Semaphore into Schedule
Added simple mutex implementation.