Shader creation for OpenGL and refactoring Model