clean up, some refactoring, and style fixes
added editing view
note data displayed in edit view, working on editing
files can be edited successfully