Added logger for better debugging
code cleanup: added documentation, changed comment style to javadoc, explicitly set method visibillity