set StoneChain attributes to private and added getters