Fixed bug in QueueTrended function
Removed unneeded files