add restful and mogo_interface