added ruby models and helpers