clientsocketmap made into pure singleton
event_hander, message_handler and messenger are all singleons
messages get committed to db so that receiver can be offline when sender sends  a message
Merge branch 'master' of https://github.com/lprepo/repo1
offline messages on server need to be explicitly deleted by sender client
that functionality will be added later