Designing an Automated System using Wearable Devices for Compliance Monitoring and Activity Detection in Scoliosis Patients