Update node, statd version
Refactor config to honour environment variables