Added a service that supports collecting units in the background even when the app is not running. close #185 close #50