Refactor common code in MMD loaders

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update changelog

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>