changes...
Added template for table search
template for search table is done.
Started implementation of search function.
Fixed problems in search function.