Made some fields final.

Introduced some methods in PositionManager to increase readability.