initial version of object that creates all joints