Node service (and supporting files): Major refactor.  Consolidated node service into one file again and made database calls more dynamic