fixed bug in parseMessage
changed JSON representation of clients
Many changes to front end: draft version ready for first deployment.