Fix permissions and main class in plugin.yml.