Changed threading libraries, and reduced idle waiting.
Added initial game engine