Refine plugin.yml and perms, plan out code