Added madapi module

Signed-off-by: Darren Ehlers <me@darrenehlers.com>