new class RedditRepository