Implemented GLEW into the template