ENH:implement part of UI and controllers