Implemented running service in a loop
Improved SettingsProvider implementation
Merge branch 'runnig_service_in_a_loop'