Pass playerfactory into GUI