Class D amps are simple – just take an input, and use that to modulate a square wave with PWM. Send this PWM signal to a MOSFET or something, and you have the simplest class D amp in existence.
Not everything the complete shop needs is appropriate for a DIY version ... which is essentially an op-amp controlling the gate of a MOSFET in proportion to the voltage across a current sense ...