fixed up classpath and run config issues, and added a new Agent to test generic behaviours by calculating factorials