Using cradle to connect to couchDb