added basic webserver support for serving the html and js files
added basic accelerometer functionality