Implimented Shader class.