public void Initialize()
        {
            IServiceManager manager = ServiceManager.GetInstance();

            manager.Bind <ITelemetryServicesProvider>(provider, true);
            manager.Bind <ITelemetryDataCollector>(typeof(TelemetryDataCollectorImpl), true);

            IScheduledTaskManager taskManager = manager.GetService <IScheduledTaskManager>();

            taskManager.AddScheduledTask(new HWUsageCollectorTask());
            taskManager.AddScheduledTask(new TelemetryProcessorTask());
        }
        /// <summary>
        /// Adds a scheduled task on the server
        /// </summary>
        /// <param name="task">Implementation of the scheduled task class</param>
        protected void AddScheduledTask(ScheduledTask task)
        {
            IScheduledTaskManager manager = Services.GetService <IScheduledTaskManager>();

            manager.AddScheduledTask(task);
        }