ui refactoring
add config menu
add main event handlers