Move inner classes in their own class for jruby class generation