Finally I have made it! I had to change lots of code, but it really works! I am so proud of me...
Ok... but being honest... right now elmo is only able to decrypt messages (because it was the easiest part). Encrypting seems easy too, but signature verification (and signing) will be much, much harder.