Added libraries and main Arduino sketch

Grabbed from blog and uploaded to GitHub. No code changes.