init restful