Priority Functionality

Add priority functionality to application