Made fields Private

Added getter/setter methods to avoid public fields. The only public
fields are the components in ImageCraft that can't be edited, although
we may change that in the future.