bin/hwrt: added first subcommands; more tests for data multiplication and pfile creation