Moved plugin object into its own header file