Adding code for generation of apk files to all templates