refactoring: all service logic is out of Deck