Convert project to Gradle structure and remove sample.