tileserver: refactoring

- separate shmem, tirex, metatile part
tilesever: wip