Fixed #1, tooling and deps upgrade

- #1 fixed
- Project structure upgraded to two separate modules (library and demo)
- Upgrade to Gradle plugin and dependency versions