Added Console test application

Added a console test app
Fixed a bug in parsing what color a card produces