class refactoring; gui export metadata