use **kwargs in __init__ function

fixes crash when used from kv
Merge pull request #3 from cbenhagen/patch-1

use **kwargs in __init__ function