Do some server refactoring
Refactor out server init to index.js
major refactoring
Remove rank.js
Fixes
Fix GET /
Merge pull request #294 from calzoneman/svsingle

Server refactoring