Implemented creation of ShaderPipeline. Some cleanup.