Add macgap source code