Heavy refactoring and reorganizing of GLUS and examples.