Add java model templates