Added Ace handling and changed shuffle methods.
added some exception handling.
added some logging.