use python logging module for messages instead of print()

``logging.cfg`` probably needs to be a package resource, and therefore it needs some consideration in setup.py and to be loaded by way of pkg_resources (see https://pythonhosted.org/setuptools/pkg_resources.html).