initial version of a m2ee RESTful API