glad: implement loader concept
generator: implement get_generator
generator: remove explicit null pointer