added function addNewNodeToWeb and helper functions, broke up read and post functions