Changed the project setup to provide an option for direct linking with
piga.
Fixed the input queue (changed it to a deque).