library for simulation

moved functions from ANT_interface2 to simulation library