adding serialization for state saving
added getproperties init to vector data layer init