Updates plugin info
Adds code comments and improves formatting