version 1b

updated the arduino code and cleaned up subfolders