Switch to Gradle for building the project

All external files are now loaded via resources as well