wip html integration of main ui