Solution : move .h .cpp files to Public and Private folders inside plugin folder and change some code