add setLogger call to dic
add first version of the documentation