Sample code clean

Change structure os samples to default gradle project structure.
Change build.gradle in samples.
Update .gitignore.