Add edit/save functionality; tweak sample & sample readme