Import and export segment added
Deck parsing and stringification abstracted to seperate service