move gui to the core namespace