move source files for Gradle
add Hadoop build dependency