Moving craftED stuff to main server.js.