Implements queues, improves makefile, lib-fixes
Merge pull request #3 from cirocosta/fixes-queue

Implements queues, improves makefile, lib-fixes