Maybe defining all this complex stuff in an initializer suites your needs? You can define entire classes with functions then call those classes and methods in your apps.
That said - in 3.0 we supply auto_accounts and auto_groups both. (along with auto_queues and auto_modules`).