psa basically working, added example router
psa serialization fix