ServiceMatrix snippets

Replaced all inline code examples with code snippets.