moved node requries into modules