add CLI class and make sure redis-server is running before processing is done