node register: use logging
cli: moved register.py under cli/ and reindented