Greatly improve plugin management capabilities. Closes #21