code cleanup
added subreddit filtering support