Updated endpoints and made the build script capable of uploading an AAR to the local maven repository.