first step moving stuff into the background service