Some code needs to be accessed from background agent, so I separated it in a lib project
added background agent which updates livetile