initial commit simu and algo stuff