Completely new GUI

Hi. I want write completely new GUI, 100% not like current (not just rewrite colors and location). So I need use Kodi like library, looks like for play file call something like kodi_play(“path”).
Is it possible to use it as I wish? And what API describe it?