Building a platform for digital insurance