Added JavaClassChooserController and refactored ControlBuilder

Class is not fully implemented, however there are some changes which would be nice to be merged to the core asap