Minor cleanup
Add support for specifying output directory
Add logger support
Use $LOAD_PATH instead of $:

Yeah, they're the same thing, but the former is clearer to me.