Module: Add submodule parsing

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