Added task scheduler. Started localization