Added rough persistence option in instance creation