Java library to be used in hoski-webapp and hoski-admin