build: module: Add comments and output name query

The comments speak for them selves, the query is just a quick lookup in
the constructor to set the output file for the linker and the archiver.

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