Completed first draft of simulator execution. First functional version of webdemo.