added deck class + made other changes