Lay foundation for implementing MBTiles databases