Update build.gradle and remove coremod