Removed multiple sort.
Tagged everything in logic and storage.
Finished refactoring storage and logic(except edit)
Improved undo and redo