Hardening/accumulator pid in file

Optimizations on accumulator-server.py
Fixed in d73e86f