Extract duplicate code into BaseWorker class.
Tweak views a bit, add convenience methods.
Fix some stuff on Scheduler to make it more flexibile.
Fix style violations.
Merge pull request #42 from elisapp/scheduling_fixes

Scheduling fixes