(Src) : progress

- fixed multi-thread mode bug
- re-organised engine code.
- general progress on engine.