Remove src/elements and many useless variables, cleanup other simulation stuff