added timeout to arduino script
changed string serial
changed file organization