Completed edits

Edits to rearrange the GPIO functioanlity