Can anyone help me add two programs together?

Can anyone help me add two programs together?
I have a DF mini mp3 player and a light program that Marc Miller help me program, so I can control them with a wireless remote instead of buttons directly connected to my nano.

@Anx_Xna can you publish the programs on gist ?