Ruby Modeling and Generator Framework