What modules do I need to program?

This depends mostly on who you are, and what you are trying to make FreeMED do. Read further in this manual to determine this.