Hmm, you should look for a tutorial on transformation matrices, that's what you use to move and rotate objects and stuff I think