create a restfulie plugin

closes #518