improved search function and added content to index page.