As promised the code quality improvement. Have two modes of running the
program. Mode1 create esper aggregating array and Mode2 aggregate and
stream off the database directly. Added a chart for monitoring the
system parameters in real time as well.

Mode 2 having some problems when running locally. Got to see if I am
facing the same problem in the Solaris box.