Fix compilation warnings
Add default priority
Revamped Work API, SPI
Merge remote-tracking branch 'origin/master'