Replace AM -> NX
reorg example stuff into NX.*.example package
add more dynamic creation of the application by allowing plugins to customize
allow string or array, puke otherwise with meaningful error