GPIO code adjustments, added GPIO library to requirements.