Added registration behaviour to Server.java
Added RSA.java, but needs testing