Functional design for a Node-Webkit based Midi Editor