Replaced mustache with razor and reworked the events system quite a bit.