first objectify+endpoints implementation