new method of schema creation - java instead of ruby