Renamed LotteryOptions to LotteryProperties. Better config handling.