Implement priority commands

Closes #66