Initial commit of architecture

Trying to set up the Event-driven MVC loop.