Refactor service definition to use parameters for easy customisation
[Documentation]