Refactor. Move ticket data store in with rest of ticket related files