Add machinist gem and add modle generator in config.