Refactored main servlet.
Added SignalR servlet.