paths -> resources
inject db
add github repo
index.js -> controller.js
fix middleware issue
add node-inspector debug scripts