Move gui classes to their own module

AppleJavaExtensions are only needed for the gui module