create simple rest plugin for use #6