Updated custom ADXL345 Class

Cleaned up class and added an isConnected() method. Still needs to be
tested.