Added preliminary functions for editing and saving features