move booklistview into template and fix library search