introduced IntentService for background stuff
code cleanup