HUE-2178 [core] Refactor and extract as a lib search charts

Extracted js and css to desktop
Created common_dashboard for importing all the necessary things