Added Plugin Stats

* Added admin dashboard menu
* And some cleanup of the code.