Rewrite reading knobs

Rewrite reading knobs to use array instead of defines, this allows for
additional knobs to be added easily