I Made My Own Ui Library In C, How To Design A Complicated System?