changed class name and add deck parser