lib.search.__init__ messy imports