log support on json parser, fix for GameFactory, new implentation of method calculateAllowedMoves