re-org and new bluetooth code for android and arduino