Code generator for models ready