Refactor code
Refactor code

Add preview/source switching
Add automatic scrolling to preview
Add method "new" for creating notes
Update "add" and "remove" methods to update html
Update method "open" to use note id (time)

medja/notes