Fixed Ghosted Merging and separated class into library

Use “from TweetLibrary import *” to use the classes.  I also fixed the
retweet duplication in ghosts.