Merge pull request #20 from nikola-benes/master

Add the possibility to set the resource priority.