Moved random generator into the separate server state