Simple chat server based on MVC design pattern