added deck class and various thangs