Added mempool functionality, improved parallel build time on makefile