fix "FIXME"s
move input validation to controller
move json util func to util, impl short_info in Tmux