Refactored into modular code
Fixed broken search dom
Added note popout window feature