adding server framework

rewrote server framework to easily enable multiple server testing