change internal data structure, fix destruction order
load config from application path
add menu to main ui