Creates search boxes and separates views