moved couch data access class and added interface