Spark implement EM reconstruction software workflows