refactor ui, add panels