Changed things up a bit

moved some stuff to server, added a terminal to start/stop reactor