What kind of z clearence do you have? How heavy are the parts you are to machine? What controller are you using?
I ask these since I designed and "had built", a 4th axis.
I "had built" because I don't have any metal working tools. I will be glad to give you the plans if they will work for you but I need to know these three parameters since it might not work for you.
Mike