Centralize the default priority value
Add priorities, fix priorities bug