add plugin factory, public methods object
first public methods: init, destroy
first public methods: init, destroy