Add basic logging

Closes #20