Refactor code layout of CouchDatabase.Views.cs