added all dependencies and stuff
Improved logging performance