added comments to functions for saving and loading point instances