Anshuman,
Unless I am missing something, I think you are using the wrong tool for this job. I would use Wolfram SystemModeler. You can construct your manipulator by wiring elements together. you can simulate it there. If you use the Multibody objects you will get an animation. Later, If you need the equations you can import them into Mathematica and manipulate them in MMA.
Can you tell us the goal of what you are trying to do?
Regards,
Neil