started implementing consensus api and service