added more functionality to the cardgames module and added a base module for generic classes for games