Closes #15 - background task