Split up starting background service. Removed some unused vars
Merge pull request #16 from KamilMroczek/refactor_things

Refactor things