add plugin registration
Merge pull request #6 from mmoll/plugin_registration

add plugin registration