Java client library for Cosm API