mainSearchViewModel and improved basiclayout