Working on structure for the simualtion thread.

Much to done yet. @T11