Work on client-side stuff

Exposed printMessage to the server