updated Knowledge class.

Set all attributes to private.

Added getters for all Attributes.