further implemented mbtiles feature (incomplete)