Working on documentation.

Also made the packager more flexible: more possible inputs for the submodules specifications.