Added tableschemas to node.js
Added routes and error handling