add activity priorities to core so that other apps can reuse it

add activity priorities to core so that other apps can reuse it, as discussed with @nickvergessen 

cc @DeepDiver1975