Access  modifiers changed

Changed access modifiers in order to make inheritance available for the
class