Added macro for more conveniend generation of CA modules