Added Java Card communication, sign functionality working