This is not ideal. Let's try and hook this into IoC (ideally ReactJS.NET's IoC container, but Nancy's is fine too).