This class is used to get an instance of the MasterScreen. We don't use a static getInstance() method here because it needs to use an inner class to act as a ReferenceFactory.