add adviceslip rest implementation, small changes