Added basic working interface to simulator.