Added a better logging system using the logging module
Merge pull request #140 from marcusmoller/master

Added a better logging system using the logging module