seperated praw related functions into a seperate file