A lot of fixes

implemented the multiprocessing module so I can launch multiple nodes
for the API, and implemented a spectator hack.