refactored reddit connection classes