Added Simulator Interface to connect with the main code
Merge branch 'david'