Cleanup plugins to move to plugin system

Cleaned up all code related to plugins
Cleaned up gem dependencies