some android refactoring and commit of some arduino test code