Completed all functions and created a test GPIOController