Fixed problems related to running main method. Created templates folder structure which would be same as final sencha touch app.