added arduino libraries
code cleanup
changes