lottery server develop