added example project and removed some warnings