Added configurable subreddit
Separated run loop into smaller methods