replaced readByte method with readRegister method which takes less unnecessary arguments. these will always be the same and can be defined in the prototype function itself. defined more functions and default reset variables