A simple server framework