Feature/couch

A bunch of changes to support plain couchdb with mirrors
same here about the space before the equals