Plugin core and library