added service manager lib and let it run in server process