Adding example code to the service manager introduction

A small rewrite of the service manager documentation - with examples