Added activeTrends and TimeStats class

yeah I did it!!!