REST callbacks are working
improved plugin api