More refactoring
Adding restart ability to operation manager
Adding clearing cache to operation manager
Calling restart and clear_cache functions from js