can you move the signing code to dalvik.rb too please? It's duplicated 3 times currently.