Phoenix 180

First revision for review.  There are some open points here.  Still no test case added to consume the stats.  Will do the performance test once the system is available with me.
Removed StatisticsWriter and StatisticsValue( later we may need this like a simple POJO) when we need some more stats to be added.