simplify for new plugin api
Merge pull request #10 from twonky4/master

simplify for new plugin api