added main.js and setup layout.jade in views
changed javascript layout
promise install