extract model coffee generation to sencha