Opening pull request

Have only made minor revisions, mainly for testing purposes. I think that 'rpmd_opts' is clearer than 'rpmd_beads'.
Delete comments.