Implemented trends using ITS Metrics classes.
Removed lastActivity old metrics.
Completed trends metrics. Removed lastActivity not used anymore.