Add common operations

Store history to local storage
Filter history
Add new point by query