Switches the import and export buttons and adds Javadoc comments