Add rest server component