*added webapi.
*added IoC
*got web client chatting to webapi