worked on ui and added accelerometer watcher