Added session class
Moved some code to the message class
Moved some code to the NewMessage class
Added error message for missing message ID
Removed in place of new file name
Renamed sessionhostclient.php to join_session.php
Utilising the new session class
Updated for new code
JS overhaul. Changes not final