replaced index, implemented json

1. replaced index.html with index.jade
2. implemented json response