Added some basic code to arduino flasher part

Added some basic code to arduino flasher part.