Migrate the core logic and API calls to Rust and then expose a Python API. The goal is to ensure it's a reliable package that can be used in high performance application and also for me to learn Rust.