added spiralAccount class skeleton as an custom type