converting server units to node modules...fixing references (part 1)