Refactoring mapnik endpoint.  Moved getSpatialTables to common