[FEATURE] Started on persistence, and added more logical signing and encryption with xmlseclibs