Add libray rest service