Added search route and types retrieval.
Search functions added.
Type select added and corresponding events.