Build: Module: Add code to parse new module format

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>