add cocoon gem and example