Fixed receiving part of server, only thing lacking now is the monitor methods