[api] move maintainer/owner handling into own modul