added a debug helper for the server
the server can now handle multiple players (also probably leaks a lot)