Starting to implement persistence though userdefaults