Finished scheduler I think.  Now must finish main.

Signed-off-by: Daniel Pierce <paladin2350@gmail.com>