Merge pull request #17 from alexey-naydenov/logfile

Added logging support using the standard python module.