java code cleanap for import and export of configuration classes