Integrate vulnerability

integrate the vulnerability visualization applications 
Please add a function for each functionType to reduce this block of code to:
```
if (functionType == "Fragility") { 
    render_fragility( <needed args> );
}
else if (functionType == "Vulnerability") { 
    render_vulnerability( ... 
```