support for typeahead via workspaces object

wrapper for typeahead functionality plus unit test