Added basic command line options.
Added .gitignore.