list command + command line parsing
small fixes for cache directories