Hardening/style guide in service routines lib

### Description
100% style guide conformance in src/lib/serviceRoutines