Made access modifiers more restrictive.

Made public only those members that need to be public.  All other
members, we restricted to package access or made them altogether
private.