reworked the node and config modules