Rearranged project files; converted to Gradle.