some changes + added basic permission declarations to the plugin.yml
(could this cause permission reload errors?)