bugfixes
no more console.log
Implemented logLevel