Add logging, add maven support.