A simple lottery server