Ruby Modelling and Generator Framework