Move static resources into the D3D11 context

-added a constructor and destructor to the context