documentation for Anchor class + encapsulation of member variables