Removed comments from scheduler module.
Added unit tests for scheduler module.
Added promise utility module.