Added the modules for metrics. Implemented time using REAL time.