Major refactoring of rpi2caster, simplified the sorts casting a bit
Removed the code_reader function, and moved its code to cast_composition and punch_composition