converted the sample project in plugin form
Merge pull request #154 from LorenzoBoccaccia/master

converted sample app in plugin form for build purposes