Simulation functional again after modularization. Ground not working yet