Minigen GitHub Code

As a Newbie, I am confused over the Arduino Library code linked to GitHub on your display page for the Pro Mini Signal Generator Shield. I downloaded the code and imported it into the Arduino IDE libraries. It worked for a test program in the minigen library but not for the minigen.cpp and minigen.h files, apparently because the IDE expects the extension .ino for its source code. Did I miss something here? However, I eventually renamed the minigen code with the .ino extension and copied it into the IDE. There were many compile errors, although I had Include statements for SPI.h and minigen.h in the code. Please help. Has anyone succeeded in getting the GitHub code to work? Thanks all