More refactoring, added DX11Shader abstractions.