Restructuring node/express