Add seed derivation
Add test