Add Log4j to project

Resolves #12. Still submitting it as a pull request to facilitate code review.