A module of a project done for a course in distribute systems. Being rewritten in F# as an exercise.