Add counter support to REST Explorer

+ Move ./static/ to ./ui/
+ Consolidate the UI a bit.