updated build.gradle and added settings.gradle to support building sub-project