Scoped all functions, and started the search view
Added ads