Inline documentation

added inline documentation and deleted grid_search_box.php