removing test codes and adding message class because i didnt do that for black jack with a map.