Added cardgame class and changed game layout