Add priority support
Remove trailing whitespace
Add default responses to the repo handler