Restructured to match gradle expectations
Split gradle configs between app and global
Fixed typo in applicationId