minor name change
minor code cleanup
minor refactoring
added methods to store metadata for nodes