Add signing configuration to the build script.
Add more documentation to the code.