Added setup.py.
Added logging, alarm support.
Merge pull request #1 from cgranade/master

Logging, alarm support and setup.py. Thanks, Chirs!