Update comments and error handling
Add unit test file and move RPi.GPIO import into class init to allow tests to run on PC
Update error handling
Add unit tests