Move code to src directory.
Clean up reddit function and add error handling. Fix subreddit bug.