Gesture controlled IR remote

I would like to build a magic wand style TV/IR remote that uses gesture controls. The idea is to record gesture readings (flick, rotate, move in circles) and assign an infrared code to each gesture. however, i have very minimal programming experience and would like to get some advice.

I have an arduino duelemanove, but am unsure which accelerometer to purchase (i am looking at the ADXL335). I am looking for good resources/ information about recording sensor data sequences and assigning an output if a certain sequence is received.