Service detection refactoring (#61).
Tweak contributing guidelines.