Initial version from Google Code.
My initial small edits
Added command line interface. Config file still not implemented.