renamed logic files to follow style guide; fixed bug in simulation_logic