refs #11 add functions to add and edit priorities