created deck class