[MAESTRO-2444] Converted to use maestro_plugin gem and cleaned up