Advanced sidebar search and refactor loading process