renamed function in f
created class Simulation
created singleton Controller