Adding restful support
cleanup