Adding some functions

Adding getWithPriority, and del functions