Added assertions to scheduleTask constraints
Refactored readme.md