Add help and version flags

Closes #1