Created node data structure

Added state node datastructure.