Removed unused http calls, removed persistance service, added deletePaths function
working delete one click