generator compiling and working as supposed, simulation running, todo code celanup, tests update