Switch to Gradle and restructure files accordingly
Add support for Travis CI builds