Tidying up the scheduler.
Refactoring RIPerm class.
Merge branch 'master' of https://github.com/Tribalforge/RestockIt