Node Code piDeeFunction

Added the function that will do some error checking on pidee. NOT ABLE
TO UPDATE DB at this point.