Kernels

add kernel management support
It's preferable to use list comprehension instead of filter/map as it's not python3 compatible (it returns iterators instead of lists).
You can use something like this:
```python
    for flav in kmap:
        kmap[flav] = [x for x in kmap[flav] if match in x]
```