Implements loading and saving of points