Fixed some installation and uninstallation issues. Plugin framework is ready for use now.