Adding a new section for Authentication and RealmModel extension

Hi everyone,
I want to add a new tab to the Authentication section inside the Admin Console. I also want to insert from there some configuration values and store them for each realm.
So I was thinking to extend the RealmModel adding my custom properties. Then modify the Admin Theme and render my custom tab. I don’t know if this is the proper way and also then I don’t know how to update the db models to store my custom realm extension.

I followed this guide on how to implement a custom Authenticator. Now I want to parametrise the OTP life time for each realm. In other words I want to make a section for configuring the SMS OTP. Something very similar to the OTP Policy and WebAuthn policy.