Add function to clear cache programmatically
Add functionality tu use internal classes for processing comands