Added working Jam state reader, refactored code, added offsets