add record command and some initial tab completion work