refactored arduino code. extracted SEND protocols out to function. fixed unstable connection. TODO: bluetooth firmware setup (Baud rate 9600) in setup()