Cleaned up comments, added proper configuration of GPIO and ADC