Add comments to the javadoc. Remove the unused ExternalSource class