Change package names to match new directory structure; configure Gradle