cleaning up vault service api
updated error code enum
updated api docs