Java model generator script