Acccelerometer Error Ditection added. Rest Client Implemented