add gperf tools and switch out queue algorithm