improve javadoc, remove method scheduledExecutionTime
improve run-agent-demo.sh