Use rails model generator

Invoke model generator rather than building the model ourselves