use interface instead CouchDoc for bulk docs
add tests for utilities functions
rename files to match structs