A model generator for SailsJS