Dev/client

Lots of misc changes to get closer to getting through an end-to-end example of using Razor.