added config file to parser and fixed tests and code in algorithm.py entities.py services.py server.py