update:
- add plugin factory and add init / release code.
- add missing licence information to some files.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>