Refactored/fixed naming of globals.h definitions.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Implemented service renaming on the fly. Defined copyPath local function.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>