Refactor util/octet_ops
Refactor parameter/parameter_checker functions.