removing background process with core data
cleaning up code