added setter for game properties and save to couchdb