Implemented restfull service