GENERAL: small code optimizations
GENERAL: added separate process for service
GENERAL: renamed service process