For now just the code, without UI that shows the simulation. However, the code works. Also added ground work for visual designer.