- changing Node class to use prototyping instead of show/hide pattern (#16)
- renaming Node's method 'name' to 'getName'
renaming method 'segments' to 'getSegments'