Added readme
Cleaned up plugin class