Added PlayerManager.
Added more comments