GUI and add terminal commands structure

+ Add socket.js abstraction
+ Add dump.js for logging
+ Add term.js to handle terminal
+ Add `net-{connect,disconnect}`
+ Add `uart-{connect,disconnect}`