Refactored 'setup' command and refactored 'list' command to utilize new setup configuration.