Move from private to public static methods
Added class for Deck interface