Added plugin.yml and some edits with main class