a generic python-based server framework