Added most AVR code with working limit switch code, basically everything but the motor is working AVRwise