Added a template for using the openGL canvas