Refactor VectorTileInput into a Datasource class