Data collection for accelerometer and activity recognition added

Having buttons for starting and stopping data collection. Would be based
on queries by server later.