Changing DirectX init (not yet finish)

Changing DirectX init to use contexts (not yet finish)