change template
applying new metronic template
JsTree implementation
Add comments and structure the code