Multi-select and Drag Select Functions

Add Multi-select, drag select functions
Reorganize nodes and links data with Javascript prototype inheritance.