mgGolf source code