Just starting with Arduino/Lilypad USB

I've been scanning the internet, Arduino, and every place possible (not really) and I still can't find a lib or an explanation of how to get the 9DOF on Lilypad USB. For the moment, I just want everything to get recognized by the board so I can start writing the code.
Also, does anyone know where I can view motion control/tracking code or how to get a handle on it? I have the code in my head, but I want to make sure I'm not reinventing the wheel.
Anything on IR rx/tx would be helpful as well using the Lilypad USB board.

Brandon