use re to match srid
remove old code
fix bugs; make tileserver and tilerenderer run