Added groups to autocomplete and added support to media search #1