Initial commit of r9util module