json format changed; map rendering class added; tileflag handling done