Refectored depthStencil- and blendState. Added static management code