a rest api server for osclass