Fixed errors with improper references to indices
Moving implementation of pq, pqWord to shared
Trending is complete.
Changing main back to server handling.
Moving all structs to shared.go