simple interactive cli

Same type of commit as before, but removed unnecessary code and improved input on power state.