Added basic infra for config and logging.

Updated .gitignore with eclipse files and output directories. Also added
the first unit test.