Roated cude and shitf the Position of cude on single touch

http://www.youtube.com/watch?v=6ky9f5txC84 i wana make such cude can rotated and shif, bt in my case i hv number of cude can u help me tooper

http://forum.unity3d.com/threads/36108-rotating-a-cube-around-its-edge