remove UI stuff, turn into CLI