beginning to work on OSGi integration
better logging
improved logging + resolved bug!