Cleaned up code a bit; add bash completion
v0.1.0