Introduce type hinting into script and rename variables

* Introduce type hinting so that variables can be renamed and shortened.
4 jobs for !130 with 146-develop-example-script-filtering-data in 2 minutes and 54 seconds (queued for 6 seconds)
latest merge request