extracted couchbase connection to seperate class, moved models to own direcotry