refactered application moving server pool management facilicity to pool