Changing simulation app to a thread in BS (wip).
Changing simulation app to a thread in BS (wip).