Moved RazorDatabase into it's own library in preperation for NuGet release.