create base view and start working with search