Improved and documented database access via JDNI
Documented logging
Documented TODOs