a small base server framework