Flexible configuration loader (from files, command-line, environment variables)