prepare directory structure for splitting plugin into component+lib+plugin
bundle plugin into a package
added component stub
extracted common code into library