[lib] removed console.logs
[lib] support for multilevel