**Problem Statement** The `lib.rs` file has grown quite large, we should aim to make the SDK more modular. **Proposed Solution** N/A **Additional Context** N/A