commit model and spring generator