add LocalCorpus and RemoteCorpus sub-classes
convert LL to RemoteCorpus sub-class
convert PG to RemoteCorpus sub-class
convert PL to RemoteCorpus sub-class
add tglu functions