Back end code for MalengaGolf