fix some stuff

 * remove node_modules
 * add swig to package.json
 * fix routes
 * fix client side crash
add .gitignore
Merge pull request #1 from superjoe30/patch-1

Fix some stuff