abstracting ticket getting to service. Fixes #5