core: cleanup of main from ui stuff
ui: add basic ui file layout. ncurses goes here