move current run functions to simulation struct
add main routine file