rename bern.py to bern_spark.py