added comments to Activator.java