Here is a super simple layout to get you started.
https://github.com/zorker/rothui/blo...iler/spawn.lua
Personally I have not used the factory yet.
Spawning any unit other than party and raid is pretty straight forward. Those need a group header and some more config settings.