Working RESTful server for imaging application