add search capabilities to the search
add the list of layers to the ap