Add layer search

This PR allows users to search for layers before the add them.