hwrt/view.py: changed view.py to a subcommand of hwrt; moved 'get_class' to utils