refining the code and adding more tests
finish implementation of new visual test, included accelerometer test and debug info
removed unused code from index