This is a great start. It is a different approach from how I envisioned though: I imagined that one would start a single JAR which had jboss modules rolled into it alongside a special main class which used the application classloader to find the nested content. That way users could just launch the giant JAR like a regular application.
This patch however is quite hard to read: you've changed the indentation from four to two spaces. That would have to be fixed before I can really review this any further.
Thanks for the contribution!