added MkRestEngine and example for client side