added whole code to git including rails and sencha touch.