added dependencies and cleaned up server.js slightly
started setting up predictionio stuff
fixed unmerged