refactor UI tools to tools directory