del old server
refactor simulator code into modules