added cache clear class
added clear all methode to caches
added routes test for clear methodes
added cache cache controller and controlle tests
rubocop autofix