adds read contracts and service interface