Experiment server script is now mostly ready
improved pep8 conformance
split up reusable code into module
split up reusable code into module (part 2)