Feature/logging

addresses #64.

Further cleanup of existing print statements is necessary to make use of this new functionality but it is there now.