Add db:setup task, refactor default couch view

related to #8