modularize build.gradle
downgraded some dirt dependencies