Fix bug caused by missing initialization

The Dictionary with the region never got initialized, which resulted
in a NullPointerException. This has been fixed.
Add logging facility

A small logging facility has been added to the project to enable
very basic troubleshooting. Logging is deactivated per default.
Add logging

Some basic logging has been added to the existing classes. Debug
will often log the parameters with which a class was initialized or
a call was made, while Info logs the initialization of objects and
only a few additional messages. Error is only used for erros.