factored out majority of AOS running code into role
move role usage to below definition of required attributes
rename AOS role
fix module name