Update project setup

* Here is the configuration to build the library and sample with Gradle.
* This will also allow you to import the project into Android Studio while keeping the folder structure as is.