XXFixed problem with initialization order, client runs now.
Fixed the confusion with initialization order.