added java models
implemented convertation from json to java model