rename appHandler
add a getServer method