support scaffold of _py and _pyspark analyses
remove unused code