add restful apis, directives, filters