Created Test Dir

Added tests dir and moved the motorTest into it.
Accessory Class

Added accessory class for the common GPIO functions that are used.