report generation and node attachment mechanism added, fixed bugs, minor interface changes