added javadoc
initial version of jdbc, json, text + some refactoring