URL fix

all url was wrong, some demo files weren't usable out of the box
Simplify getAllViews function code

getAllViews function is now using the same code as getSelectedView