Restructure: sdk should have all crypto stuff