Added some final functionality to the PLayerManager class. worked together with Kyrill