Code was refactored and has lots of changes, more comments were added, stable work of revert, delete and refresh actions