Tidying Up

Cleaned up everything; lots of commenting and JavaDoc. Things look
professional. Mason's heuristic is now in Control and can be accessed by
any agent via Control.instance.heuristic(). Randy made a bit more
sophisticated.